// CourseReservationService.java
package com.example.gymmanagebackend.service;

import com.example.gymmanagebackend.pojo.CourseReservation;

import java.util.Date;
import java.util.List;

public interface CourseReservationService {
    int addCourseReservation(CourseReservation reservation);
    List<CourseReservation> getCourseReservationsByUsername(String username);
    int deleteCourseReservationByCondition(String courseName, String reservationTime);

    boolean isCourseReservationExists(String username, String courseName, String reservationTime, Date reservationDate);
    List<CourseReservation> getAllCourseReservations();
    List<CourseReservation> getCourseReservationCount();
    List<CourseReservation> getCourseGenderDistribution();
}